import vue from 'vue'
import moment from 'moment'

vue.filter('timer', function (time) {
  return moment(time).format('YYYY年MM月DD日')
})

vue.filter('times', function (time) {
  return moment(time).format('YYYY/MM/DD')
})